<template>
  <el-config-provider :locale="zhCn">
    <RouterView />
  </el-config-provider>
</template>

<script setup>
  import zhCn from 'element-plus/dist/locale/zh-cn.mjs';
  import { setThemeColor } from './utils/elementTheme';

  onMounted(() => {
    setThemeColor('#0f40f5');
  });
</script>

<style scoped></style>
